package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 order
 *
 * @author ruoyi
 * @date 2025-04-20
 */
public class Order extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单表主键
     */
    private Long id;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private Long orderNo;

    /**
     * 订单类型
     */
    @Excel(name = "订单类型")
    private String orderType;

    /**
     * 订单 json
     */
    @Excel(name = "订单 json")
    private String orderDesc;


    @Excel(name = "订单状态")
    private Integer orderState;

    @Excel(name = "护工编号")
    private String employeeNo;

    @Excel(name = "客户编号")
    private Long consumerNo;


    @Excel(name = "来源平台")
    private String platform;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Long getConsumerNo() {
        return consumerNo;
    }

    public void setConsumerNo(Long consumerNo) {
        this.consumerNo = consumerNo;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderNo=" + orderNo +
                ", orderType='" + orderType + '\'' +
                ", orderDesc='" + orderDesc + '\'' +
                ", orderState=" + orderState +
                ", employeeNo='" + employeeNo + '\'' +
                ", consumerNo=" + consumerNo +
                ", platform=" + platform +
                '}';
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }
}
